package sk.vasicek.drinkmanager.domain;

import java.util.Date;

public class DrinkPoint {
	public static final String POINT_LATITUDE = "latitude_point";
	public static final String POINT_LONGITUDE = "longitude_point";
	public static final String POINT_TITLE = "title_point";
	public static final String POINT_SNIPPET = "snippet_point";
	public static final String POINT_ID = "id_point";
	public static final String POINT_RATING = "rating_point";
	public static final String POINT_TIME = "time_point";

	private Integer id;
	private double latitude;
	private double longitude;
	private double rating;
	private Date time;
	private String title = "";
	private String snippet = "";

	public DrinkPoint(double latitude, double longitude) {
		this.latitude = latitude;
		this.longitude = longitude;
	}

	public DrinkPoint(double latitude, double longitude, String title, String snippet) {
		this.latitude = latitude;
		this.longitude = longitude;
		this.title = title;
		this.snippet = snippet;
	}
	
	public DrinkPoint(Integer id,double latitude, double longitude, String title, String snippet,double rating,Date time) {
		this.id = id;
		this.latitude = latitude;
		this.longitude = longitude;
		this.rating = rating;
		this.title = title;
		this.snippet = snippet;
		this.time = time;
	}

	public Integer getId() {
		return id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSnippet() {
		return snippet;
	}

	public void setSnippet(String snippet) {
		this.snippet = snippet;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public double getRating() {
		return rating;
	}

	public void setRating(double rating) {
		this.rating = rating;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}
}
